
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header
{
    transition: margin-left .3s ease-in-out;
    margin-left: 250px;
}

.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .main-footer,
.sidebar-mini.sidebar-collapse .main-header
{
    margin-left: 4.6rem !important;
}

body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .content-wrapper,
body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .content-wrapper::before,
body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .main-footer,
body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .main-footer::before,
body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .main-header,
body.sidebar-collapse:not(.sidebar-mini-xs):not(.sidebar-mini-md):not(.sidebar-mini) .main-header::before
{
    margin-left: 0;
}

.layout-fixed .main-sidebar
{
    bottom: 0;
    float: none;
    left: 0;
    position: fixed;
    top: 0;
}

@media (min-width: 992px)
{
    .sidebar-mini.sidebar-collapse .main-sidebar,
    .sidebar-mini.sidebar-collapse .main-sidebar::before
    {
        margin-left: 0;
        width: 4.6rem;
    }
}

@media (min-width: 768px)
{
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header
    {
        transition: margin-left .3s ease-in-out;
        margin-left: 250px;
    }
}

.content-wrapper {
    padding-top: 90px !important;
}

[class*=sidebar-dark] .brand-link {
    border-bottom: 1px solid #4b545c;
}

.admin-interface.sticky-submit.change-form:not(.popup) .submit-row:last-of-type {
    padding-left: 290px !important;
}

.bp [class^=bg-].disabled {
    opacity: .65 !important;
}

.bp .sidebar-form,
.bp .nav-sidebar>.nav-header {
    font-size: .7rem;
}

li.nav-item {
    list-style-type: none;
}

ul li {
    list-style-type: none;
}

.navbar-white {
    background-color: #fff;
    color: #1f2d3d;
}

.content-wrapper {
    background-color: #f4f6f9;
}

/*===================== Avatar =========================*/
.dropdown.user.user-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    padding: 0;
}
.bp .navbar-nav>.user-menu>.dropdown-menu>li.user-header {
    height: 185px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.bp .form-check {
    padding-left: 0;
}

/*================== Change form fix ==================*/
#changelist {
    padding: 1rem;
    border-radius: 5px;
}

.module.aligned:not(.collapse) {
    padding: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
}

.admin-interface .inline-related.tabular {
    overflow-x: auto;
}

/*===================== Login =========================*/
ul.m-0 {
    padding: 0;
}

.primary-background {
    background-color: #f4f6f9;
}

.content-login {
    height: 100vh;
}

.login-content .alert {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    text-align: center !important;
}

/*============= Crispy forms fields errors ==============*/
.bp .invalid-feedback {
    display: block !important;
}
